<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label class="layui-form-label required">员工</label>
            <div class="layui-input-block">
                <select name="uid" lay-search>
                    <option value=''></option>
                    {foreach $getUsersList as $k=>$v}
                    <option value='{$k}' {in name="k" value="$row.uid"}selected=""{/in}>{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">提成比例</label>
            <div class="layui-input-block">
                <input type="text" name="ratio" lay-verify="required" class="layui-input"  placeholder="请输入提成比例" value="{$row.ratio|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">成交金额</label>
            <div class="layui-input-block">
                <input type="number" name="total_amount" lay-verify="required|number" class="layui-input"  placeholder="请输入总金额" value="{$row.total_amount|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">已收金额</label>
            <div class="layui-input-block">
                <input type="number" name="pay_amount" lay-verify="number" class="layui-input"  placeholder="请输入已支付金额" value="{$row.pay_amount|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">项目状态</label>
            <div class="layui-input-block">
                <select name="project_status" >
                    {foreach $getProjectStatusList as $k=>$v}
                    <option value='{$k}' {in name="k" value="$row.project_status"}selected=""{/in}>{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">订单状态</label>
            <div class="layui-input-block">
                <select name="state" >
                    {foreach $getStateList as $k=>$v}
                    <option value='{$k}' {in name="k" value="$row.state"}selected=""{/in}>{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户名字</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input"  placeholder="请输入客户名字" value="{$row.name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">订单类型</label>
            <div class="layui-input-block">
                <select name="type" >
                    {foreach $getTypeList as $k=>$v}
                    <option value='{$k}' {in name="k" value="$row.type"}selected=""{/in}>{$v}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户需求</label>
            <div class="layui-input-block">
                <textarea name="demand" class="layui-textarea"  placeholder="请输入客户需求">{$row.demand|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户手机号</label>
            <div class="layui-input-block">
                <input type="text" name="phone" class="layui-input"  placeholder="请输入客户手机号" value="{$row.phone|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户QQ</label>
            <div class="layui-input-block">
                <input type="text" name="qq" class="layui-input"  placeholder="请输入客户QQ" value="{$row.qq|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户微信</label>
            <div class="layui-input-block">
                <input type="text" name="weixin" class="layui-input"  placeholder="请输入客户微信" value="{$row.weixin|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>
    </form>
</div>